﻿#include "passwordwidget.h"
#include "ui_passwordwidget.h"

PasswordWidget::PasswordWidget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::PasswordWidget)
{
    ui->setupUi(this);
}

PasswordWidget::~PasswordWidget()
{
    delete ui;
}

void PasswordWidget::on_btn_main_clicked()
{
    this->hide();
    emit goMainWidget();
}

void PasswordWidget::on_btn_setting_clicked()
{
    this->hide();
    emit goSettingWidget();
}

void PasswordWidget::on_btn_record_clicked()
{
    this->hide();
    emit goRecordWidget();
}

void PasswordWidget::on_btn_serial_clicked()
{
    this->hide();
    emit goSerialWindow();
}
